<template>
	<view class="about">
		<view class="about-logo">
			<image class="about-logo-imge" src="../../static/images/basic/grid.png"></image>
			<view class="title">
				北鑫物业社区
			</view>
			<view class="tui-version">
				Version {{version}}
			</view>
		</view>
		<view class="about-list">
			<tui-list-cell @click="detail" :arrow="true">
				用户协议
			</tui-list-cell>
			<tui-list-cell @click="detail" :arrow="true">
				隐私政策
			</tui-list-cell>
		</view>
		<view class="about-logout" @click="logoOut()">
			退出登录
		</view>
        <tui-footer copyright="Copyright © 2020" bgcolor="#fafafa"></tui-footer>
	</view>
</template>

<script>
	import tuiFooter from "@/components/footer/footer"
	import tuiListCell from "@/components/list-cell/list-cell"
	export default{
		components: {
			tuiFooter,
			tuiListCell
		},
		data(){
			return {
				version:'1.0.0'
			}
		},
		mounted() {
			
		},
		methods:{
			detail(){
				
			},
			logoOut(){
				uni.clearStorageSync();
				uni.reLaunch({
					url:'/pages/login/login'
				})
			}
		}
	}
</script>

<style>
	.about .about-logo{
		height: 550upx;
		display: flex;
		flex-flow: column;
		align-items: center;
		justify-content: center;
	}
	.about .about-logo .about-logo-imge{
		width: 180upx;
		height: 180upx;
		margin-bottom: 30upx;
	}
	.about .about-logo .title{
		font-size: 50upx;
		margin-bottom: 20upx;
		letter-spacing: 5px;
	}
	.about .about-logo .tui-version{
		color: #999;
	}
	.about .about-logout {
		margin-top: 30upx;
		width: 100%;
		height: 120upx;
		line-height: 120upx;
		text-align: center;
		background-color: #FFFFFF;
		color: #999;
	}
</style>
